home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-07 | 1.8 KB | 81 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="4"
- "UIPATH"="Internet\Instant Messaging\Excite PAL"
- "NAME"="URL Settings"
- "LANGUAGE"="VBScript"
- "VERSION"="1.07"
- "TEXT 1"="Default Server"
- "TEXT 2"="Default Port"
- "TEXT 3"="Secure Server"
- "TEXT 4"="Secure Port"
- "DESCRIPTION 1"="You can use this plug-in to change the options for Excite PAL."
- "DESCRIPTION 2"="It allows you to enter a custom host and port setting to use for logging on."
- "DESCRIPTION 3"="To restore the default values, clear all fields."
- "DESCRIPTION 4"="Excite PAL may be obtained at http://www.excite.com/communities/pal/home/."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
-
-
- sV_Reg="HKEY_LOCAL_MACHINE\Software\Ubique\PAL\Path"
- sSec="Connectivity"
- sFile="pal.ini"
- sPath=""
- sV1="Server"
- sV2="Port"
- sV3="HttpsServer"
- sV4="HttpsPort"
- Sub Plugin_Initialize
- sPath=RegReadValue(sV_Reg)
- if isempty(sPath)=false then
- sPath=sPath & "\" & sFile
-
- if fileexists(sPAth) then
- s=IniReadValue(sPath,sSec,sV1)
- SetUIElement 1,s
-
- s=IniReadValue(sPath,sSec,sV2)
- SetUIElement 2,s
-
- s=IniReadValue(sPath,sSec,sV3)
- SetUIElement 3,s
-
- s=IniReadValue(sPath,sSec,sV4)
- SetUIElement 4,s
- else
- Disable
- end if
- else
- Disable
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call IniWriteValue(sPath,sSec,sV1,s)
-
- s=GetUIElement(2)
- Call IniWriteValue(sPath,sSec,sV2,s)
-
- s=GetUIElement(3)
- Call IniWriteValue(sPath,sSec,sV3,s)
-
- s=GetUIElement(4)
- Call IniWriteValue(sPath,sSec,sV4,s)
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-